﻿using System;

namespace Joz58
{
    class Program
    {
        static void Main(string[] args)
        {
            var now = DateTime.Now;
            Console.WriteLine(new SolutionSubstring().ReverseLeftWords("lrloseumgh", 6));
            Console.WriteLine(DateTime.Now - now);

            now = DateTime.Now;
            Console.WriteLine(new SolutionQueue().ReverseLeftWords("lrloseumgh", 6));
            Console.WriteLine(DateTime.Now - now);
        }
    }
}
